Implemented exercises for removing test duplication.