Tests: fixed another bunch of test. Not finished yet

InputOutputMap: improved saveDefaults function