Test drive of bike derailed chain easily ... bad sign or nothing?
Excluding the factor of very-very cheap bikes with unknown components, damaged components etc, this particular situation is quite typical for front derailleur which was not set up properly. To be able to shift gears without chain falling off on either side you need to make sure to set up front derailleur correctly, starting with height and rotation angle, and ending with limit screws which are designed specifically to avoid the described situation :) After that you can expose your bike even to several meter drops and chain should stay in place (on a mountain bike, with appropriate rear derailleur), not mentioning just a plain simple ride like you had even without shifting.

Many people hate front derailleurs because setup could be tricky. It took me a while to figure out how to set it up and now I can do it even in the field without a stand. So answering your question, I believe that there is nothing wrong with the bike, but setup was done by somebody not really experienced. One of the ways to see that it's not set up properly is to try to shift front derailleur - it only shifts perfectly if every part of the setup is done well.

Useful links on how to set up limiting screws to keep the chain on:
https://www.parktool.com/blog/repair-help/front-derailleur-adjustment#article-section-4

Video version of the article, here they also demonstrate which setup leads to chain falling off: