Added tests for custom routes
added more tests