Fix copy table index test; Change == to ! on false in travis.rb

1. Fix copy table index test, that was wrongly testing same thing
2. Change == to ! on false value in travis.rb