Add tests for word count topologies