Make synthetic methods use the MethodInfo constructor.
Add some native tests. Fixes #290.
Actually add tests to NativeTest.java
Merge pull request #425 from mcav/methodinfo2

Make synthetic methods use the MethodInfo constructor.
Merge pull request #426 from marco-c/test_native

Add some native tests