java nano second function accuracy test added