unit tests for domain join support.