main.lua: "snabbswitch -t foo" now runs require("foo").selftest()