Added tests for custom routes and assert user logged in