change millis to microseconds. Finish statistics tests