Created by: seriallos
Ensure a waiting event is sent for priority jobs and adds a test to verify this behavior.