Bring back autorun assertion during testing
Merge pull request #2722 from teddyzeenny/autorun

Bring back autorun assertion during testing