Added tests for nested SQL functions in Zend_Db_Select