re-added python sql doc test, temporarily removed before