auth test written