Add: this assert does not hurt.
Fix: quite annoying problem of file modified time.

in test_external_mapping an input and output file were created one after the other.

Problem is that file modification time of both could be equals.