I dont understand how a test work. How to define a success or a failure
This will be up to the GM. If a player is good at something and has the proper equipment then the GM will declare the action attempted to be successful. Likewise if a player is not good or skilled at something and or does not have the proper equipment to complete the declared action then the GM will declare the action a failure.