Added test cases for #658 notCaught 4 and 5