Revert "Revert "TryCatch assignment test""

This reverts commit ed543650913f0cc97ca097e9b3d69c38ecd98f52.