adding authenticationhandlerimpl tests