Added genre model validations and unit tests.