Added php unit tests.