Added tests for function schema handling/  All tests are passing.  Added hg support to the MANIFEST.skip