added test to show that values can be passed between callbacks