fix: travis ci ; add: unittest ; fix: success unused and had incorrect value