Tests update to work with new logic of function expression hook
New logic of function expression hook