FlaskTestCaseMixin, and BaseTestCase for frontend