added tests and custom routes
added status validations and tests