added validation specs for models