tests first for fix #11
now we can also delete document by id, and error's pages correctly handled now fix #11