semaphore test complete