Apply reviews to grep filter

- use string-scrub gem
- improve log message
- refactor tests