Skip some tests for pre-JDK 8