added tests for custom routes
added status validation and tests