unit test for Semaphore

Just initialize the semaphore to 0. No need to call acquire to get it to the desired amount.