Added tests for custom routes.
Add status validantions and tests