Add empty identifier test

This has been raised by @dlongley as bug on my JSON-LD processor (https://github.com/lanthaler/JsonLD/issues/47). Other implementations in languages that don't support properties with empty identifiers suffer under the same limitation and need to work around it.