Added further testing

Added further testing to ensure we are getting right primary keys and
objects through the mechanisms of AE_OBJECT_STORE.