12 integration tests

Adding end to end tests.