Cleanup the code for *test* button and add the functionality to test
MSDTC support which would be used with another GUI.