cleaned up SmallestTableScan and added tests
Merge pull request #63 from timbokopter/feature/cleanup_SmallestTableScan

cleaned up SmallestTableScan and added tests