Move grab-sample to resources dir
Fix test on command line