Junit tests updated.