lib: fix precision of test_curl

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>