Wrote units tests for the ReadInt32AsEnum method

Also did some refactoring of the old tests.

Consider reducing the length of some of the method names. The longest
method name comprises 114 characters!