Check expected function calls