[BUGFIX] Remove the need of PackageStates.php in tests