Add a test for using compaction filters via the C API