Testing slugsize with java 7