This tests all the methods in the dialog class.