Added spec for BeforeAfterFeature
Refactored callbacks for CRUDFeature