Fixed PHP 5.4 only code
Added PHPUnit as dev requirement