add tests for anchor relationships to package_spec