fix tests for json-links