Simplify FunctionsTest