Add tests around deoptimization.

Test: 837-deopt
Bug: 233021156
Change-Id: I59982aee5c4c3e03ab1ba90448bfd0857aacd388
5 files changed