Adds possiblity to select different databases.

This currently enables MySQL, MariaDB and PostgreSQL. 

This fixes #74

Good Idea. I'll give it a try. I just copied the way the test was done before, therefore the same issue might pop up in different parts of the project.

I'll give it a go later on.