[PATCH v5 2/3] sandbox, test: add test for GPIO_HOG function