Test of flask app using stormpath API