Tests written for authentication 2

Added tests for custom routes