Add regression test for b/36989421

There was an old bug in some versions of art/dalvik that caused
InvokeNonVirtual* JNI functions to call the wrong methods. Add a test
that the right behavior is done.

No functional change required. The behavior seems to have been fixed
at some point.

Test: ./test.py --host
Bug: 36989421
Change-Id: Iddd518c780f01b680a4bf832a7f8ada07f19289a
5 files changed