Created maven test scope and added junit dependency.