Add some native tests. Fixes #290.
Actually add tests to NativeTest.java
Merge pull request #426 from marco-c/test_native

Add some native tests