Add RecordingSynchronization with its unit test
unit tests for register synchronization in various transaction states