Implemented DiscardCommands test