added unit test to verify that 'storeObject' yields it's stored object