change test_assign_bad_index_ref reference a soft-deleted case

rather than actually deleted case

fixes http://manage.dimagi.com/default.asp?128703