adding php unit tests