Fixed PHPUnit tests.

Change-Id: I92fc26559c8c948f825902a8905e08413c363984