changes after the code review
Adding listener for screen capture on test failures
Merge remote-tracking branch 'sameeraj/testFixes' into ui-test
improvements to test utils