fix error-catching tests

I was finding that the pending tests which attempt to test the illegal triangle dimensions weren't properly failing if `new Triangle()` never throws, thus skipping the expectation. Moving the expectation so it's not inside the `catch` block means it still gets run even if the `catch` block doesn't.
Merge pull request #16 from alxndr/patch-1

fix error-catching tests