Do not hardcode primary keys in tests

Primary keys are opaque autogenerated values. We shouldn't make any
assumptions about their values in test code. Fixes #10