trq-2200 checked for bad data lengths when reading back in attributes.
trq-2200 cleaned up the unit test.