fix most tests in Zend, three remain

all but three tests in Zend passing.