starting writing first integration test
Oops
Working....
Refactored tests, extracted some helpers