Added ProfilesReplacerTest