Test ActiveSupport 4.0 and 4.1 separately
Define reusable `as` scopes