A test program exists at:
https://github.com/ckraemer/gsoc2018-utils/blob/master/src/gpioc_intr_test.c
This should likely also be imported into thA test program based on the above source base in some way (under tools, maybe?)s is now part of this change.