Added tests for package reference resolve