added a couple misc junit tests