Removed compile warning which was caused by an unused variable. Added a suppressWarnings, since it is my belief that the method has undocumented side effects which could impact the test results.