Junit tests added.