Add test for nqp::curcode();