Added tests to custom routes