fix a couple of the unit tests by moving consumer connect and close around