Studies of highly charged iron ions using electron beam ion traps for interpreting astrophysical spectra