single test for login