added testing to routes