Test structuring in cargo workspace

Thanks to this other discussion I now use integration tests for the relevant tests.