Start of IM testing utility.
Add first tests for ImTester.
Saner parameters for check_state and check_close.
Add some tests for the failure cases of check_state and check_close.
Add test for failing on incorrect response and ability to turn of logging of errors to console.
Report API logs more nicely.
Refactor tests.
Test custom teardown / setup. Fix name of max_content_length (it's really max_response_length). Make some docs / comments clearer.
Add check for continue_session.
Consistent ordering of options.
Use === for comparing typeof to undefined (it's probably not super necessary but let's just simplify things by removing possible corner cases).
Return self.api rather than api.
Merge branch 'feature/issue-8-add-state-checker' into develop