Working around Flask and ficing nosetests