refactor for record_not_found method
refactor coordinates controller specs