add a test for the "method not found" exception

Here's a test for the "method not found" exception. I had to add steps to build against a different set of classes than the test accesses at runtime, since the method needs to be found at buildtime in order for compilation to succeed. We should be able to reuse that to test other such VM behavior too.