corrected test junit