Test for representation of a compound json-api document, including linked resources