Rebuilds parameters file (if there is a ./tests folder).