Add docstrings and several tests for exchange methods