Test listener throws error when junit dependencies are not met