fix tests on travis

open/close index test works on localhost, not on travis.
Experimenting...