More functionality for Works/Editions; added some non-tests to dump some debugging stuff.