PhpUnit: fixed back some unit tests, which delivered different results under PHP5 (14.04) and PHP7 (16.04)