emulator: Implement a custom Clock
emulator: Test the Clock implementation