[TASK] Find functional tests automatically, optimize travis-ci