Added unit test to validate object lookup via nID.