fixed phpunit code coverage issue