Finally fixing the unexpected exception test ...