Add more test configuration flags. Minor Javadoc fixups.