add crash handler to tests