Anand - added a Google search test and refactoring