Fixed PHP Unit tests