Fixed some tests to now work with Dialog enumeration. Fixed an error in a test in LoggersAndAppendersTest