tests: Use debug.h