add some testcases for Pr flag