L.A. transit system prepared for terrorist attack, officials testify