Add test for nqp::link
Fix createLink arguments for JVM

They were reversed