fixing failing unit test of priorities