tests-extra: fix missing parentheses in function close