TRUNK-3257 Added junit test for making voided searches impossible