IdP test framework based on SP test framework with some initial rewrites