add tests for get_default_device

We also anticipate tests for empty objects,
which wouldn't work right now so it is disabled.
check read/put idempotence

When using the output of a read() as input to put(), we should get the
same result.