Added stuff to parse the relation with provided resource being a package
added a relation test sample for the provided package