Solved problem with doGetDocument
Merge pull request #12 from egulias/repairing-tests

Repairing tests