added tests for custom routes
add status validations and tests