Changed Cobertura target coverage to depend on debug instead of compile target
Updated exception handling and added a few exception tests