testing before, before_action, after_action, after