writing integration tests