updates to unit testing for priority