fix test failures due to entropy precision