(Reuters) - Wal-Mart Stores Inc is testing a service to stock groceries directly to customers' refrigerators as it seeks to take on e-commerce giant Amazon.com.