adding junit 4 in the dependencies and making the test pass