Add tests for the DialogBuilderFactory class. Make sure the appropriate dialog builder is return for each format.