guard against fatal errors resulting from accessing an empty property of an object
Add tests to expose handling of empty key in associative array