added response check to login test