Make tests for custom routes
Added validations and tests