add another test and refactor out some context managers
Add test for the connect method

Mocking the shit out of this reader