updated g_fire function api inline with other changes

update of test functions.