added test for custom routes
add status validation