Added tests to custom routes.
Added status validations and tests.