Implement IDisposable to address build warnings in test classes