Added tests for empty text results