Monotonic clock

Use a monotonic clock where possible, adjusted the test to take that into account.

Closes #15