replaceAll tests