Test passing a list of filenames to ImageSequence

This revealed one bug, which is also fixed here. Should be ready to merge once this is in.