API docs and cleanup for test configuration data structures