cleanup tests and conversions for timevals