Propagate the version to the executable code.
Simplify.
Update the test to more generically 'detect' the version.