Added KryoSerializer and simple test