Add cargo test

I don't think I've seen this style too frequently elsewhere, but seems reasonable?