try to fix tests on Travis with naive sleep
fix import problem in ST2