Add _selftest() function and test script to verify Grabber functionality