Fix AppTesterTasks before and after hook docstrings