extended-tests.py: added --save-failures flag for examination of failing tests