added api e2e tests for new endpoints