added simple semaphore tester.