Added phpunit.sql and updated PackageStates.php