Use mysql database for tests, fixes BST problem in test

- @gtrogers