add additional tests when reading pair list from file. #4