trying to fix tests in openjdk7