QFT with MPS test codes