Modified mostRecentDate, updated tests