enhanced error handling for action callbacks, tests now mostly silent