remove old test file
fix bug when string starts or ends with non-alphanumeric characters