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