Fix timing test