Added tests for custom routes
add status validation and test