fix model.create when only passing data and add more tests
fix creation of model inside model
remove log
fix required property