Split up basic test case to ease extending
Added offset_key on query to allow datastore implementations that offset on key rather than index