added a few more junit tests