Add passing test case for pre-java 8.