Slow Junit Tests

JUnit4 tests inside Netbeans ran slowly. Seemed to be a 5-second overhead per test class.

/etc/hosts needs to contain the hostname for the computer mapped to 127.0.0.1 and ::1. See Stack Overflow.