Simulation of spatially evolving turbulence and the applicability of Taylor's hypothesis in compressible flow