FIX: add delay to remote tests...
Improve tests for sets, fix toArray for sets.