Includes posted data and fixes flask tests