In below example, the second test works (there is the function property in specified position). The first test does not work, because the Chai can not compare the functions corr