Fixes to SampleSet.__delitem__ and more tests.