Active Directory test should attempt to use "Test" button

All tests attempt to use the "test" button before setting security.
When test button fails, the test should exit without touching the
security realm.
Update scenarios in tests javadoc.