rework of test for jnxfile as previous was a bit shoddy