Test login function is being read