[tests] fix array derefence issue for PHP 5.3