GrepTest to groovy language.

GrepTest to groovy language.