Added a test for the RestController.