add legacy resolve tests for packages