Add specs for retaining seconds

Add spec to make sure that persisted records retain their seconds.