Delete left-over code in go/word-count tests
Move type definition into separate file in go/word-count