Updated the consistency_tests code in the test suite mainly by mimicking the jw_mapping code.
Jw mapping and consistency testing are performed in the same way so their code should be similar.
Authored by: semor 2008-01-07
Parent: [r4464]
Child: [r4466]