Add some test for replacena