duration validator now meets tests