- add test for atexit module - add callback to gc collection - fix callback memory allocation - execute callback on both code and repl exit