Tests for different runtimes

** TOTAL MESS ** Need to use source generators, as suggested by Jason.