added tests for package sources.  not yet completed