added rspec tests and error template wip
added corresponding error messages for error rabl