Tests gpio return io value

for tests

Signed-off-by: AngeloDP <angelo.de.pascale@meigroup.com>