functional test use mysql