Add tests for setpriority/getpriority