The `runtests` state needs to return a dictionary.