Add documentation to testing macros