JUnit testcase for Findbugs violations