fix zFinalTests to call functions