Some convenience methods to make the validation code and especially the test code better readable.