Fixing broken tests on 5.3

Looks like array to string conversion was not an error in PHP 5.3.