FIX JENKINS-19877

Disabled two of the unit tests that are using Java 7 API.