test cases compatible with 2.6