Improved call function tests