Adding test for DialogHelper