Added MySQL extension Travis CI and corrected functional tests