Added test to make sure call backs can be defined