Run test at_exit