ThreadTagModel and Tests. Issue #50