ignore sweeper callback if not executed during the controller action
fixing tests, substituting ActiveRecord::TestCase with ActiveSupport::TestCase
Revert "ignore sweeper callback if not executed during the controller action"

This reverts commit 7a77a344983303e036840072b479e1f2a0ed5523.
Deprecate usage of sweepers as controller filters and execute ActiveRecord observers only when in the context of controller/action specified by cache_sweeper method