Implementing method to retrieve the list of supported languages (with tests)