Added tests based on en-es pair.
Sorted language pair detection.
Added tests based on es-en pair.