Testing is something we all do: each time we want to know how something works, we can think it through and guess what happens, but if we want to know for sure we would need to simply try it...
Even as little children, we start on this path: my first grandchild will no doubt start to stack blocks soon, and watching them fall until he figures out how to stack them properly. My youngest daughter learned to ride a bicycle in a bith roundabout way: when she was frustrated that she couldn't, I gave her back her scooter for a few weeks. After her subconscious had "recorded" the two wheel balance trick, I could give her back her bicycle, and she rode off straight away!