test that "g <term>" routes to search
route command g to search