Tests for Builder exception cases.
Added a brief description to TypeBasedCompiler class.