ctdb-tests: Add test for ctdb_io.c