[RFC PATCH v2 17/29] selftests: ntsync: Add some tests for semaphore state.