There's no way this would have worked properly; I don't know what I was thinking of.
Shell-level testing framework