general: update the semaphore test