Test that language is set correctly