fixed minor error in setting controller test