Cleanup MXBean unit test.