Added several unit tests for DocumentConverter