Ensured completion event always returns original document. Added more tests and updated README