Fix to FunctionsTest