added test for custom routes
add status validations and test