Besides the bugs we found, it never seems to be using Holy Wrath, which is also a good spell because it normally hits ~2k+ and its instant so why not.
Also, when it bubbled but didn't heal, it had Hammer of Justice up, so possibly you could add a priority to what to use when HP is low. For example, when it bubbled and it could have used Hammer of Justice instead and saved the bubble. This could be a good and bad thing, like if you use HoJ instead of the bubble and have adds on you. So you could do like a check to see if you have adds, if false, then if Hammer of Justice isn't on CD, use it, if it is on CD, use the Bubble. I don't know just a thought.
Here's the log of the videostream with the last build you gave me, if you want i'll post all the logs.