simplyfied test cases and add method of cpp03 implementation