Issue #228: Add unit tests to invalid object key issue