Tests for inspecting DEX registers in a Java method.