added test for custom routes
Add status validationa and tests