Using Stocks or Portfolios in Tests of Factor Models