switch key order in test case