refactor c-tests/basic_append to use the new error handling
refactor c-tests/basic_append to use the new error handling

traildb/traildb,traildb/traildb,traildb/traildb,tuulos/traildb,tuulos/traildb,tuulos/traildb,tuulos/traildb