More varied test data for test_dataset

The new test data includes integer, float, datetime and string indices, and
thus should much more robustly test our serialization code.

This flushed out a bug I recently introduced in conventions.py.