added authentication tests