Army social worker thought Nidal Hasan's shooting was exercise, she tells court