Techelson is a Michelson validator developed by Adrien Champion at OCamlPro.
See https://github.com/OCamlPro/techelson
Using Techelson should improve the robustness of the tests.
I'm not sure what the best approach is with regards to the techelson binary and detecting the platform that the tests are running on but I can provide an initial PR with a Linux binary to get started.