add test code in Grep JUnit TDD