Fix function name in test for jenkins