class with junit test