Resolve eclipse warnings, mostly about closing app ctx in tests