add timeval test