Java 7 and more Ocean tests
more test and bug fixes
autoclosing input stream