Added test print route
Fixed an error with the testPrint