See bug 194634.
I commented out these tests; they should be uncommented after fixing:
Not true, all these tests are still commented out. If they are fixed, they should be uncommented.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.
Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss