issue #9 Add unit test code for model. Fixed model field property.