Amazon.com Inc. and eBay Inc. staked out opposing positions in testimonies before U.S. lawmakers on the issue of collecting sales tax from online purchases. The two largest e-commerce firms differ primarily on whether small businesses should be exempt from pending legislation that would require online retailers to collect taxes in…