Mock language-select function in tests

As it has async download of metadata, it doesn't make sense to handle
it in every test.