cart tests: sleep after starting image

tests were sometimes failing because the server hadn't finished starting