Fixed unit tests which failed due to the addition of validations for required associations