add tests for language listener