public void testNanos() throws InterruptedException {
long start, last;
last = start = System.currentTimeMillis() + 10000;
AscendingClock c = new AscendingClock(start);
assertTrue(c.nanoTime() > last * 1000000);
for (int i = 0; i < 10000; i++) {
long t = c.nanoTime();
assertTrue(t > last);
last = t;
}