junit tests added