Remove username from pathname test