fixed junit test