removed ValidationObjects, added message codes, refactored tests