ReplacementDict.frommodel: add tests
ReplacementDict: fix SIPFooDirectory paths