Added new tests from stripExtra , replaceAll methods