Added tests for cutom routes