This commit shows a working version of storing the callback

I ran this test_it through valgrind and it works (no invalid reads).