Fixed PHPUnit tests to be compatible with PHP 5.4
Corrected namespaces of test classes to match the tested classes.