refactor word-count && fix module/import for test runner
Merge pull request #1116 from wilmoore/fix-word-count-for-test-runner

refactor word-count && fix module/import for test runner