Move fromJavaString test to NativeTest instead of relying on a real nati...

...ve