Add docstrings to tests

These tests seem complicated - they were difficult to condense into docstring summaries. Perhaps they can be simplified?