Unit Test Improvement and Netbeans Config Changes

Improved the attorney unit test and changed some netbeans
configurations.