PriorityJobQueue: added tests to ensure data is only processed once