Added a test for finding the dominant language