add some replacement tests