Fix expected version checking

Updated TestInterpreter to write at the correct time and check versions