This commit starts reusing test cases which are not dependant on the kv db backend. So they can be later used with the native db implementation as well.