Fix the sword namespace (remove terms/ as in the SWORD spec).
Add in error documents and test that they are returned as expected.