There seem to be various problems when having the rust tests at a separate top-level directory tests/ instead of inside of src/. For example I have vscode set to format on save, but because the tests aren't part of the crate, that doesn't work. And I can't import from a util.rs file with crate::util because there is no crate that tests/ is a part of.
So we should move rust tests to be inside of src/ but we should keep the files at the top level so they can be accessed by both Rust and Python tests