The dynamics of liquid slugs forced by a syringe pump