Added tests for referential fetch on imqs backend.

Also, changed Table.create() method so that it accepts
an object containing key:value pairs to initialize the
record.