Full Text Functionality and Unit Test

@nursix : 

The fulltext() is working good, experimented with it.
But I am facing a little bit of problem in unit test. I wrote the unit test, but it is failing, because the value of 
query = (((doc_document.deleted <> 'T') AND (doc_document.id > 0)) AND (1=0))
and expected is
(((doc_document.deleted <> 'T') AND (doc_document.id > 0)) AND (doc_document.file IN ('Test')))

(1=0) .. ?? Dont know why, if u can help with this....