Renamed test
Create phpunit.xml file.

And changed the test name to allow PHPUnit to test it.
Starting factories.
Some changes to allow creating an empty object from factories.
Creating a new object from factories.
Factories' attribute_for method.
Checking primary key of an object, when saving.

Checking if already exists on database. If exists, it's updated, not saved.
Also checking if the primary key is null, to remove it and get the autoincrement
feature.
Running tests each by each.

I don't know how PHPUnit is dealing with database access concurrency but I
really don´t care: let's get all the test scripts and run them one by one.
Creating records on factories.