rustpkg: Add a few tests

r? @graydon There's no test runner for rustpkg yet; just sketching out a few
basic test scenarios.