Capture SQL queries generated from a nosetests run for further analysis