Ill- and well-posed one-dimensional models of liquids dynamics in a horizontal capillary