fix compile warning AXIS_MAPPING_* not used in switch
fix two creg tests