They sure test it a lot. There are a lot of parts in that phone so be sure to get a long warranty.
You can find reviews on both so I won't get into any vs. discussion and share I like what I have which is a Moto G 5th gen. Very nice, loads of memory, added some 128GB card and runs for days on a charge. Pictures were great so I didn't take my DSLR on a long trip this time.