Fix testcase for attribute ordering.