updates the template to contain fixes made in the phpunit template it was copied from, refs #380