@Test
public void testGetSeconds() throws Exception {

    ISODate isoDate = new ISODate("2013-10-10T13:20:40Z");
    // Convert seconds to milliseconds
    ISODate testDate = new ISODate(isoDate.getTimeInSeconds() * 1000);
    assertEquals(testDate.toString(), isoDate.toString());
}