Reverted test semaphore change