added test case for unsion mode