fix entropy tests