fix sqla tests