Added functionality for package vendor

Added test cases