Added exceptions support to adapter and fixed issue with non-unique test case name