Clean up DB, after we're done with testing
Use setUpBeforeClass() and tearDownAfterClass()
Proper WHERE – the table is called userid not user
Merge pull request #4328 from owncloud/cleanupdb_kondou

Clean up DB, after we're done with testing Preferences