added tests to custom routes
Added status validations