More gpu timming
fix test in floatX=float32
Fix test in DebugMode
pep8, duplicate var name fix.
Merge pull request #2324 from nouiz/tests

Tests