[MH,RG] Fix all warnings in *Test.java