Delete unused dispose command.
Add sample tests.