Fixed canChangeHost test
Fixed another error in the pathAdditions
Fixed the changeUser tests
Fixed test for replace functions with overlapping strings