Fixed DB tests on Travis

- There was a missing `->assemble()` call, so the tests compared string and object for equalness.
- `expected` and `actual` parameters in `assertEquals()` were swapped.
- some DBMS needs quotes and others need backticks, so the test needs to be different 

(see the distinct commits for more information on changes)