prettyDate to an object.
Fix old tests to work with new prettyDate object.