Converting to Junit tests.