Add tests for addCrud.coffee when config.rest.enabled is true
Add tests for addcrud throwing errors
Finish writing tests for addCrud