LUCENE-6002: Fix monster tests so they pass (backport r1631290 from trunk).


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1631291 13f79535-47bb-0310-9956-ffa450edef68