added tests for custom routes
added tests for custom routes
add status validation