finished tests for model