Fix `clippy::upper-case-acronyms` (#697)

* Fix `clippy::upper-case-acronyms`

* Fix typo

* Add `#[cfg(test)]` to get rid of dead code warning
18 jobs for master in 8 minutes and 48 seconds (queued for 3 seconds)