Update EnhanceTestFramework.php

Fix scenario testing issue, whereby failing tests cause a fatal exception.