Added test_func.py test.
Merge pull request #68 from Hudon/test-func

Added test_func.py test.