switch the wsgi proxy tests to pytest api