testing Auth component in Model