Fix call to DL::Function.new in tests