tests: refactor. Replace literal constant w/ named constant.