Added another julian date check in jd_test