In our environment we needed to get rid of LGPL BeanShell TestNG dependency. In this case EvictedInstanceSerDeTest.testDeserializeEvictedInstancePathsForNoEviction is failing. The reason of the fail is the newer TestNG runs the two Serialize method first, then runs the two Deserialize next. This means testDeserializeEvictedInstancePathsForNoEviction which tests for empty files found a file with unexpected content and fails.
I suggest splitting the two files into different ones as first attached patch shows.