test: [gpio] dry tests