add output to semaphore self-test