Added tests for customroutes