Added tests for Function1 and PartialFunction behavior of collections.
Merge pull request #4 from Ichoran/master

Added tests for Function1 and PartialFunction behavior of collections.