GPIO test added, resolved issues with declarations