finish htdtool and add tester... unsure if line endings are meaningful, but wish to keep the same as template