Test the replacement