setCode test green