fix expect throw syntax in tests.  change arguments to objects.
Merge pull request #308 from jaswilli/fix-expect-throw

fix expect throw syntax in tests.  change arguments to objects.