@Test
public void testParseInstant() throws Exception {

    Calendar cal = Calendar.getInstance();
    cal.setTimeZone(TimeZone.getTimeZone("UTC"));
    cal.set(2013, 4, 30, 23, 38, 27);
    cal.set(Calendar.MILLISECOND, 85);
    Instant expected = cal.toInstant();
    Instant actual = Utils.fromJson("\"2013-05-30T23:38:27.085Z\"", Instant.class);
    assertEquals(expected, actual);
}