travis: add redis service; test: add more test, small change