Fix factory
Bring back nuked test
Avoid PEAR::isError
Remove PEAR
Update package