Add transform tests
This pull request adds some new tests that verify the output of works/{doi}/transform
for a number of content types:
- application/rdf+xml
- text/turtle
- text/n-triples
- text/n3
- text/x-bibliography
- text/bibliography
- text/plain
- application/x-research-info-systems
- application/vnd.crossref.unixref+xml
- application/unixref+xml
- application/vnd.crossref.unixsd+xml
The following content types are excluded from this test:
- application/x-bibtex
I've excluded this one for now as I'm getting exceptions converting anything to x-bibtex. I think it is because of the sample input data I'm using, this issue might just go away when we decide on our full test data set.
- application/json
I've excluded this at it is the default in use for all other tests.
- application/citeproc+json
I've excluded this at is uses the same implementation as application/json.
- application/vnd.citationstyles.csl+json
I've excluded this at is uses the same implementation as application/json.