added test for custom routes
add status validation and tests