Fix FindBugs for tests