test programm Semaphore