Added unit tests for Disposed objects