Added missing Java 8 rule for Java 8 specific test.