add code to test settigns and newModel methods. the newModel methos are uncompleted.