Make test a separate mode
#15, add prototype grep mode