* make a new offline test * finish up offline test and fix crash bugs
* add offline test for gcommon as an example. * fix test * unused var