Added a test case for the generated REST API. Run as: