switch test-request to pytest api