Added test for priority.