added tests to custom routes
added tests to custom routes