Renames Java to PHP in docs
Adds more code coverage