classes and junit tests