Add test for priorities.