Add cargo test

And the semantics would be that it is only compiled during `cargo test`?