Use java 6 compatible test dependency.