Fixed the CFGBuilderTest.

Converted the CFGBuilderTest to use JUnit 4 parameterized test.
Enabled several CFGBuilderTest unit tests.