fix timing used on tests