Fixed a small bug and added LanguageTag Matching tests