Add test docstrings and test runner script