epub: test epub3 linear events in an epub document, with fix