a bunch more xspec tests and bugfixes for dtbook-to-epub3