made test for anonymous user shorter