Test case for Trace cache clear on execution failure