Test programmatically

So we don't have to use different files for each test.
a never ending mystery.