Adding authenticate test