fixes in tests and validation of available languages