To upstream build test fixes

- Updating some test cases they were intermitently failing on our build server for various reasons (JUnit threading issues, out-of-order end-to-end error message testing etc)
- generateByaccs tweaks to only regen files when there are changes