test changes for semaphore