zend db and test func