Added test_func.py test.

On branch test-func do make test.  Tests pass.