Fix issues with MysqlBackend tests. Closes #16. Closes #24