Junit test revisited