Added support for the testing environment.

* Create a db named test_DBNAME.
* Create the application/tests/config.ini file.