Update PhpUnit.php

Added saving of successfull test count to DB for #582