Using Python's variable unpacking

Using Python's varliable unpacking instead of explicitly assigning the various items in the list.
Fixed some jday code and made a unit test for jday