tests: more C89 fixes
tests: add more example on customizing SKIPDATA mode to test_skipdata.c