individual tests for semaphore