Do not have query inherit from ActiveRecord::Base
Delete a redundant test