Fix test for tostring(set)

Also add shuffle to table methods