test for idp