finished tests for model User