add ROOT_DIR to pre-commit hook
add summary of test results