FIX: PHP strict standard doesn't allow on the fly object creation

Made unit test fail on my PHP 5.6 install