Added tests for the DialogueBox