fix latent init test