created custom routes and got tests working