added test for custom routes
Added status validations and tests