Made the swe_wave_speed_1d test shorter.