Callback testing

Added tests to see if callback functions are set.