Updated test to use nanotime cause it's more accurate