Integration tests

Initial integration tests