wrote the rest of the integration tests