Bump junit memory to 512m (was 384m)
Minor tweak to Kryo serialization support