Added before and after hooks for Spec's