test new semaphore