committing unit tests, errors with semaphores