Added some tests for testing restOperations being set in the model.