For each test case, I clean all tables in database using the teardown method. Unfortunately, this method is not called after test case execution when the tests run in parallel, resulting in database errors.
The test steps are:
Create database -> Test1 -> Tear down -> Test2 -> Tear down -> Test3 -> Tear down -> Drop database