JBIDE-15872 similar update for RepublishDefectTest

JBIDE-15872 similar update for RepublishDefectTest

JBIDE-15870 - unit test fails due to race condition with build

JBIDE-15871 - Unit test failures for final

Forgot static on beforeClass