Created test util to read content_dir, added var arg for holding text in document for tests