added flask tests