Add unit tests for the PRIORITY filter
======================================

Add unit tests covering the priority selection criteria of the filter.