[Curl] Remove useless use
[Test] Simplify code