Added custom routes integration test and wrote routes tests