Added a Junit test