Add a test for nanoTime performance