chore(core): add debug messages for database test