start of document tests