Implemented a few collection protoype methods. Added more tests.

#38