Computational test of the infinite order sudden approximation for excitation of linear rigid rotors by collisions with atoms