updates to the integration test, and added a new endpoint