Fix func. SQLReplacer in test