test write to gpio block