Add integration test that uses most of the module together