A test for raising a good error message when using with incorrectly.