added some more collection methods (and tests for them)