gpio tests - patch set 1

Signed-off-by: Humberto Borba <humberos@gmail.com>