typo in after_success instruction
Cleanups and refactorings to increase coverage