Add a priority inversion test for Semaphores.