Different way to make tests conditionally add before_filter