Adds integration tests