test: restore testFlush() method for Travis