add script demonstrating receiveHooks
modified TestGC