Fix compiling tests

When a new build is compiling we have tests that run on it. Most of these come back as failed as the tests were written years ago. Please fix/update them.

This looks to be the last discussion we had on this: Testing and builds - #8 by AndyatFocallocal

It was fixed after this but something went wrong between then and now.