added function calls tests