Tests and implementation for ProjectReferences