Refactor lang test to convert all topics from one map

Using a single map reduces the processing time to one third.