Fix for outer function test