+ Add unit test for remove, replace, replaceInner methods