Create struct to allow reuse code for testing

Essentially this PR moves code from test to a class, to allow reusing code in multiple tests (specific to each customer)
In that class : 
- Constructor get the config file of that test
- run method execute test
- getNumError returns the number of error