add posix semaphore test