The `#[cfg(not(test))]` annotations may be better placed on the impl itself (inside the macro)