Code coverage

Adding code coverage for PHP spec. 

A suggestion for the future of the repo: We should remove the phpunit tests.