add FunctionsTest