Reduced number of rows to write to speed up test and fixed bug where due to nature of random numbers a possibility exists for query to return fewer than three values in test_column_index_stress
use builtin set rather than in import sets module