Adding tests

I've added some tests for NSArray#collect: