checking the code for junit