junit test working.