add static function variable example and BGQ test makefile