Add simplecov for coverage metric.
Fix issue with millisecond and second conversions.