Added tests for custom routes.
added validations and tests for statuses.