Finished writing tests for all routes