Fix epoch test