Changed in memory tests to work with MySQL temporary.