remove JDK 7 dependencies from tests
cleanup
make sure localServer waits for accept in tests