Added testCreateModelWithNullParent() test