Fix failing test and update jodatime dependency.