Tests for DialogManager