changing unit tests to phpunit

Change-Id: I070add58b1e6db3358651329419467faa93a90c9