Fix test in float32
Fix test when pygpu isn't installed.
Merge pull request #1553 from nouiz/fix_tests

Fix tests