Create a stub for the test_rest_api