You don't need to
perform the safety testing but you're
responsible for the safety testing.
Let's assume that you have a physical store and you import and sell a toy and trust the manufacturer-provided documentation that claims that the toy is safe. The customer trusts you and relies on you to ensure that the toy is safe, the customer doesn't need to trust the manufacturer. If it turns out that the offshore manufacturer lied and faked the documentation, that's not the customer's fault or problem - you're fully liable and need to compensate the customer for selling a shoddy product that's apparently not fit for sale. Generally you have the right to recover that compensation from the manufacturer but if you can't do that (e.g. the manufacturer has since disappeared, or is insolvent) then that's not the customers problem, they bought the thing from you and it's your responsibility to uphold the warranties (at least in EU law) - so if you sell products from shoddy manufacturers then you assume full responsibility of them, which generally means that importers/distributors (or large retailers - a small store would delegate that task&risk to the wholesale importer/distributor, a major chain would do it themselves) audit their suppliers to ensure that they're not lying, faking safety documentation, etc.
The baby store doesn't need to run safety tests on strollers, but it does need to verify that the safety tests have been done and ensure that the strollers are actually safe. The store can (and usually will) rely on others to ensure the safety and testing, but if they choose to rely on unreliable partners, that's the fault of that store.