Merged test_sqlalchemy.py with test_mwdb.py.