Change in tests and double-precision detection.

Signed-off-by: Irina Vidal <irina.vidal-migallon@inria.fr>