add basic test case for word search problem.