Add common test in travis CI