Added tests for BaseRestController