sm2 tests