ObjectStore.get() method tests

These test ObjectStore.get() method's error case.

This closes #1426.