Bug 907177 - [Clock] Add integration tests

r=lightsofapollo
Detect true spin end with more robust heuristic