added independent function call test