Added ReferenceIntegrity to phpunit
Revertd file permissions