Added the option to mark a test document as irrelevant