passing tests for https endpoint