Spec test for reading GraphLabels from hash

Addresses this comment: https://github.com/concord-consortium/smartgraphs-authoring/commit/034d3fc2413d508c425451d7dcda3ce3f41e1a50#commitcomment-2957552
Fixes a deprecation warning