Add tests for DefaultCommand and BypassUndoCommand.