added test for custom routes
Add status validations and test