Fix tests with float32.