Added tests for semaphores.