Tidied.
Test return value computed from dynamic jd_var.