Throw invalid argument exception on bad pass type
Add support for disabling constraints.txt output
Added test of expected invalid exception