Enable modular accuracy to validate the tests
This PR aims at introducing a module precision to validate the tests such that the user can change the level of precision he wants the test to be checked against.
@all Please have a quick look and let me know if you see an issue. This PR is a preliminary step towards a much bigger one, so I need to integrate it quickly if possible. Especially @ltaief @x-YHong if you can approve or comment quickly please.