Added support for test timeout and failure screenshots