Fix Tests on 32bit Platform

- Change Int64->Int for general readtable() case
- Force rand to generate Int64 values due to an inconsistency in selecting
  random elements
Merge pull request #537 from fundamental/master

Fix Tests on 32bit Platform