Return JD as number
Fix typo in tests