Add regression test for polr method