finished tests for member model