confirm that expected functions are called