fix the phpunit test made wrong