Performing input record record check and rectivication also in tests.
When testing mdp reading and writing, only get_ir had been called, omitting the possibly input-record-changing check_ir that is called subsequently in the pre-processing stage.
Check input record also in tests
When checking .mdp option reading and writing, the check_ir routine was
omitted that would potentially alter the result of the .mdp file
This patch fixes this behaviour, so that also checks and rectifications
of the input record are performed.