WIP to use sqlachemy syntax in tests