check image range in pairList file reading

Add a test to verify that images given in pairlist file are in the range of the lists.txt file.