Split tests

As we are getting more and more testcases, it's time to split them, to make
repository better structured.
Starting testsuite for database