Removed failing condition onLoadFinish

This will allow us to avoid unexpected load page error when testing iframes in mocha.