Added Disposing test.