added simple tests for PreferredLanguage. Added parse_arguments for PreferredLanguage