Sometime a test is finished before it has LOADED.
Merge pull request #431 from mithro/state-fix

Sometime a test is finished before it has LOADED.