Fix tests in float32
Merge pull request #364 from lamblin/fix_float32

Fix tests in float32