Could you wrap all these tests in a `#[cfg(test)] mod tests { ... }` module? That way you don't need `#[cfg(test)]` on all the functions and it's also easy to see where the tests start and end.