[TEST] Add integration tests for all endpoints.