re-fix exception handling (parent exception) and add according test case