[FLINK-1111] Adjust Java-8-tests for type information refactoring