tornado : fix test : application instantiation in main