implement a junit test