Bug 907177 - [Clock] Add integration tests

r=lightsofapollo
Fix bug in assertion logic (and add assertion)
Split across more files