Eagerly reject invalid values to ClassName.fromClass.

Refs #79.
Oh, ok. Sorry, I just am used to using it, and didn't realize what was going on here. Shouldn't this be three tests anyways?