Documentation: Added documentation and corresponding code for testing config.