Added test for custom routes
added validation for status