* adding tests checking xhtml documents obtained from server
 * minor improvements in existing tests