Fixed toThrow so it doesn't always pass, and added check to make sure value is a function
Merge pull request #6 from larister/master

Fixed toThrow so it doesn't always pass, and added check to make sure va...