Fix issue with preprocess/conform running at wrong time

* Preprocess and conform were running via build plugins. This
  was not operating on the complete file so some errors were thrown
  when vars in other files couldn't be seen. Now runs when complete
  string has been built
* Update test expectation