Test assertions for ActiveModel and ActiveRecord