LRDOCS-1095 QA

Added working code, and description of it. Other minor edits.