added test that shows some problems with replace