Added tests for custom routes
Added status validation and tests