More tests for priority
Merge pull request #474 from spotify/erikbern/priority-doc

More tests for priority