Tests for QDenseSet