Restore previous value of floatX when changing it in tests