test working and authentication failed working