Added tests for cusotom routes