Refactored test out to be more hypermedia type-agnostic and added basic support for JSON-LD + Hydra.