lib: fix precision of test_curl