fix client tests for test api using https