@Test
public void testCollectionsNCopiesList() throws IOException {

  List res = kryoSerDeser(Collections.nCopies(3, 42));
  assertEquals(3, res.size());
  assertEquals(42, res.get(0));
  assertEquals(42, res.get(1));
  assertEquals(42, res.get(2));
}