Abstract factory tests + fixes that tests found.
Updated phpunit.xml