updated test for public route