Add QuadFunctionTest.
Add QuintFunctionTest.
Add HexFunctionTest.