added methods to return arrays for default and available languages, rspec tests to match