Removed engine specific sql in tests schema
Moved the database test to its own class