tests with zend doctrine