some junit tests.