PmAttrLocalDateAndTime added test and minor changes