Fix L-function from lcalcurl. Fix 4 erronous tests